# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Tom Hacohen <tom@stosb.com>
pkgname=acme-tiny
pkgver=5.0.1
pkgrel=1
pkgdesc="A tiny script to issue and renew TLS certs from Let's Encrypt"
url="https://github.com/diafygi/acme-tiny"
depends=('python' 'openssl')
license=('MIT')
arch=('any')
source=($pkgname-$pkgver.tar.gz::https://github.com/diafygi/acme-tiny/archive/${pkgver}.tar.gz)
sha256sums=('8205736d0de258283e337f6fbc35892cb54fac19e10b770f4dc8b0941b1a08a5')

package() {
    cd "$srcdir"/acme-tiny-${pkgver}

    install -Dm 755 acme_tiny.py "$pkgdir/usr/bin/acme-tiny"
    install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

